home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Archive / QuickTime / QuickTime VR / Make QTVR Panorama / CMovieMaker.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  1.1 KB  |  71 lines  |  [TEXT/CWIE]

  1. /*
  2.     A set of static functions that know how to create QTVR movies from a source PICT file.
  3.     
  4.     Created 29 January 1996 by Edward Harp. Based on code by Pete Falco and msnm.
  5.     
  6.     Copyright © 1996, Apple Computer, Inc.
  7. */
  8.  
  9. #ifndef _CMovieMaker_
  10. #define _CMovieMaker_
  11.  
  12. #ifndef __MOVIES__
  13. #include <Movies.h>
  14. #endif
  15.  
  16. #include "CApp.h"
  17.  
  18. class CMovieMaker
  19. {
  20. public:
  21.     
  22.     static Boolean MakeAMovie(
  23.         Boolean inReplaceFiles,
  24.         const FSSpec &inSrcSpec,
  25.         const FSSpec &inTileSpec,
  26.         const FSSpec &inDestSpec,
  27.         Int16 inWidth,
  28.         Int16 inHeight,
  29.         Fixed inPan,
  30.         Fixed inTilt,
  31.         Fixed inZoom,
  32.         CodecType inCodec,
  33.         CodecQ inSpatialQuality,
  34.         Int16 inDepth,
  35.         ProgressProc inProgressProc);
  36.  
  37.     static void CreateTileMovie(
  38.         PicHandle inPicH,
  39.         const FSSpec &inTileSpec,
  40.         CodecType inCodec,
  41.         CodecQ inSpatialQuality,
  42.         Int16 inDepth,
  43.         ProgressProc inProgressProc);
  44.     
  45.     static void CreateSingleNodeMovie(
  46.         const FSSpec &inTileSpec,
  47.         const FSSpec &inMovieSpec,
  48.         Int16 inWidth,
  49.         Int16 inHeight,
  50.         Fixed inPan,
  51.         Fixed inTilt,
  52.         Fixed inZoom);
  53.     
  54.     static pascal OSErr QTProgress(
  55.         short inMessage,
  56.         Fixed inCompleteness,
  57.         long inRefcon);
  58. };
  59.  
  60. #endif
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.